package cn.neusoft.service;

import cn.neusoft.domain.Allocate;
import cn.neusoft.query.AllocationQuery;
import cn.neusoft.vo.PageBean;
import org.springframework.stereotype.Service;

@Service
public interface AllocationService {
    void addAllocate(Allocate allocate);

    void AddAllocateAnyway(Allocate allocate);

    void deleteByAllocateId(String allocate_id);

    void updateAllocate(Allocate allocate);
    Allocate findByAllocateId(String allocate_id);

    PageBean<Allocate> findBypage(AllocationQuery query);

    PageBean<Allocate> findAllByCondition(AllocationQuery query);
    PageBean<Allocate> findReturnedAllocate(AllocationQuery query);
}
